#include <cstdlib>
#include <cstdio>

char cmdName[1000];

int main()
{
	int n;
	scanf("%d", &n);

	for (int i = 1; i <= n; ++i)
	{
		//sprintf(cmdName, "java -jar BookSelectionVis.jar -exec a.exe -novis -seed %d >deb_err%02d", i, i);
//		int seed = rand();
		int seed = i;
		sprintf(cmdName, "java -jar BookSelectionVis.jar -exec a.exe -novis -seed %d", seed);
		printf("%s\n", cmdName);
		system(cmdName);
	}

	return 0;
}